package cn.edu.gduf.luowowo.hotel.service.impl;

import cn.edu.gduf.luowowo.hotel.domain.HotelTheme;
import cn.edu.gduf.luowowo.hotel.mapper.HotelThemeMapper;
import cn.edu.gduf.luowowo.hotel.service.IHotelThemeService;
import com.alibaba.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

@Service
public class HotelThemeServiceImpl implements IHotelThemeService {
    @Autowired
    private HotelThemeMapper hotelThemeMapper;

    @Override
    public List<HotelTheme> list() {
        return hotelThemeMapper.selectAll();
    }
}
